﻿package Message.Login
{
    import Engine.RMI.*;
    import Framework.Serialize.*;

    public class ILoginPrxHelper extends RMIProxyObject implements ILoginPrx
    {
        public static const NAME:String = "Message.Login.ILogin";

        public function ILoginPrxHelper()
        {
            name = "ILogin";
            return;
        }// end function

        public function createFirstRole_async(param1:AMI_ILogin_createFirstRole, param2:SFirstRole) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("createFirstRole");
            var _loc_5:* = new SerializeStream();
            param2.__write(_loc_5);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function login_async(param1:AMI_ILogin_login, param2:SLogin) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("login");
            var _loc_5:* = new SerializeStream();
            param2.__write(_loc_5);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

    }
}
